<template>
	<view class="page-body">
		<cu-custom bgColor="" :isBack="true">
			<block slot="backText" class="titilestyle">{{title}}</block>
		</cu-custom>

		<web-view @message="getMessage" :webview-styles="webviewStyles" :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: "",
				url: '',
				webviewStyles: {
					progress: false
				}
			}
		},
		onLoad(option) {
			this.url = uni.getStorageSync("weburl");
		},
		onShow() {

		},
		mounted() {
			
		},
		methods: {
			getMessage(e) {
			  console.log("messafe")
			}

		},
	}
</script>

<style>
	.notice {
		margin-top: 15%;
		text-align: center;
	}
</style>
